]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
mount-operation: don't use global.get_current_time()
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 20 Jun 2012 20:12:40 +0000 (16:12 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 21 Jun 2012 02:21:23 +0000 (22:21 -0400)
If we don't specify it, it will be picked up by default.

https://bugzilla.gnome.org/show_bug.cgi?id=674962

js/ui/shellMountOperation.js

index 805ce60432ef2a84b747f0bb68e99e34f893707a..11cc613c17ad1c5367d4822b484c5ec9d39e3097 100644 (file)
@@ -124,7 +124,7 @@ const ShellMountOperation = new Lang.Class({
         if (!this._existingDialog)
             return;
 
-        this._existingDialog.close(global.get_current_time());
+        this._existingDialog.close();
         this._existingDialog = null;
     },
 
@@ -141,7 +141,7 @@ const ShellMountOperation = new Lang.Class({
                                }));
 
         this._dialog.update(message, choices);
-        this._dialog.open(global.get_current_time());
+        this._dialog.open();
     },
 
     _onAskPassword: function(op, message) {
@@ -166,7 +166,7 @@ const ShellMountOperation = new Lang.Class({
                     this.mountOp.reply(Gio.MountOperationResult.HANDLED);
                 }
             }));
-        this._dialog.open(global.get_current_time());
+        this._dialog.open();
     },
 
     close: function(op) {
@@ -174,7 +174,7 @@ const ShellMountOperation = new Lang.Class({
         this._processesDialog = null;
 
         if (this._dialog) {
-            this._dialog.close(global.get_current_time());
+            this._dialog.close();
             this._dialog = null;
         }
     },
@@ -201,7 +201,7 @@ const ShellMountOperation = new Lang.Class({
 
                                               this.close();
                                           }));
-            this._processesDialog.open(global.get_current_time());
+            this._processesDialog.open();
         }
 
         this._processesDialog.update(message, processes, choices);